<div id="menu">
<table id="menu_table">
<tr><td>
<% if logged_in? %>

 <%= link_to (_ 'write'), fp_url(:friend=>current_friend.login,:page=>nil ) %> |
 <%= ( (link_to (_ 'album'), fp_url(:friend=>current_friend.login,:page=>nil )) + " | " ) unless app_config[:no_usable_links] %> 
 <%= link_to (_ 'friends'), :controller => '/mind/friends', :action => 'list' %>
 <%= (" |" + (link_to (_ 'doings'), :controller => '/mind/dojos', :action => 'index')) unless app_config[:no_usable_links] %>

 <% if current_friend.in_domain? :admin %>
 | <%= link_to (_ 'admin'), auth_url %>
 <% end %>

<% else %>

 <!-- common menu -->
 <%= link_to (_ 'eternalfriend'), "/" %> |
 <%= link_to (_ 'about'), :controller => 'pages', :action => 'about' %>
 <%= (" | "+ (link_to (_ 'allinone'), :controller => 'pages', :action => 'allinone')) unless app_config[:no_allinone]%>

<% end %>
</td></tr>
</table>
</div>
